import java.util.Scanner;

/**
 * Created with Intellij IDEA.
 * ClassName： Test
 * Description:
 * User:LiXingYu
 * Date:2022 2022/9/26
 * Time:12:42
 **/
public class Test {
    public static void main1(String[] args) {
        //打印99乘法表
        for(int i = 1;i < 10; ++i)
        {
            for(int j = i;j<10;++j)
            {
                System.out.print(i +"*"+ j +"="+ i*j+"  ");
            }
            System.out.println();
        }
    }

    public static void main(String[] args) {

        //输入3个数
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if (a < b && a < c) {
            //a是最小的
            if (b < c) {
                //顺序 abc
                System.out.print(a);
                System.out.print(b);
                System.out.println(c);
            } else {
                //顺序 acb
                System.out.print(a);
                System.out.print(c);
                System.out.println(b);
            }
        } else if (a < b) {
            //c是最小的
            System.out.print(c);
            System.out.print(a);
            System.out.println(b);
        } else if (a < c) {
            //b是最小的
            System.out.print(b);
            System.out.print(a);
            System.out.println(c);
        } else {
            if (b < c) {
                System.out.print(b);
                System.out.print(c);
                System.out.println(a);
            } else {
                System.out.print(c);
                System.out.print(b);
                System.out.println(a);
            }
        }
    }
}

